package cn.sy.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-12-08
 */
@TableName("t_process_detailted")
public class ProcessDetailted extends Model<ProcessDetailted> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 审核人
     */
    @TableField("process_name")
    private String processName;
    /**
     * 审核人id
     */
    @TableField("process_id")
    private Long processId;
    @TableField("process_reason")
    private String processReason;
    /**
     * 计划id
     */
    @TableField("production_id")
    private Long productionId;
    @TableField("creat_time")
    private Date creatTime;
    /**
     * 审核状态 0 失败 1通过
     */
    private Long status;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public Long getProcessId() {
        return processId;
    }

    public void setProcessId(Long processId) {
        this.processId = processId;
    }

    public String getProcessReason() {
        return processReason;
    }

    public void setProcessReason(String processReason) {
        this.processReason = processReason;
    }

    public Long getProductionId() {
        return productionId;
    }

    public void setProductionId(Long productionId) {
        this.productionId = productionId;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ProcessDetailted{" +
        ", id=" + id +
        ", processName=" + processName +
        ", processId=" + processId +
        ", processReason=" + processReason +
        ", productionId=" + productionId +
        ", creatTime=" + creatTime +
        ", status=" + status +
        "}";
    }
}
